package com.dingxin.portal.common.utils;

import java.io.Serializable;

	public class Unit
	    implements Serializable
	{
	    private static final long serialVersionUID = 3689355407466191567L;
	    public final String symbol;

	    public String getSymbol()
	    {
	        return symbol;
	    }

	    public String toString()
	    {
	        return symbol;
	    }

	    public boolean equals(Object obj)
	    {
	        return (obj instanceof Unit) && symbol.equals(((Unit)obj).getSymbol());
	    }

	    public Unit(String s)
	    {
	        symbol = s;
	    }
	}

